
#include "TBRcolor.h"

using namespace TBR;
	
ColorRGBA::ColorRGBA(int r, int g, int b, int a)
{
	rgba[0] = r;
	rgba[1] = g;
	rgba[2] = b;
	rgba[3] = a;
}

inline int* ColorRGBA::getRGBAint()
{
	return rgba;
}

inline float* ColorRGBA::getRGBAfloat()
{
	return rgbaf;
}